import sqlite3
import os

conn=sqlite3.connect('/home/hamou/outils/projet/exBD')
conn.execute("""drop table etudiant""")
conn.execute("""
create table etudiant
(nom text,prenom text,numEtudiant integer)""")
f=open('/home/hamou/outils/projet/login/ajoutBD.sql','r') 
for ligne in f:
	conn.execute(ligne)

#conn.execute("""
#source /home/hamou/outils/projet/ajoutBD.sql""")
conn.commit()
conn.close()


